package pl.edu.agh.iosr.gamblingzone.model;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;

import org.jboss.seam.annotations.Name;

/**
 * The Class Quote.
 */
@AttributeOverride(name="id",
        column=@Column(name="USER_ID"))
@Entity(name="QUOTES")
@Name("quote")
public class Quote extends EntityModel {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 272647413062349516L;

	/** The cite. */
	@Column(name="QUOTE_CITE")
	private String cite;
	
	/** The author. */
	@Column(name="QUOTE_AUTHOR")
	private String author;

	/**
	 * Gets the cite.
	 * 
	 * @return the cite
	 */
	public String getCite() {
		return cite;
	}

	/**
	 * Sets the cite.
	 * 
	 * @param cite the new cite
	 */
	public void setCite(String cite) {
		this.cite = cite;
	}

	/**
	 * Gets the author.
	 * 
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * Sets the author.
	 * 
	 * @param author the new author
	 */
	public void setAuthor(String author) {
		this.author = author;
	}
}